<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Document</title>
  </head>
  <body>
    <script>
      var disk = [
        "本地固定磁盘  C:        NTFS        83702444032   214853218304",
        "本地固定磁盘  D:        NTFS        405313318912  429496725504",
        "本地固定磁盘  E:        NTFS        325011607552  355327799296"
      ];
      var diskData = [];
      var reg = /([^a-zA-Z0-9_\s]+)\s+([a-zA-Z]:)\s+[a-zA-Z]+\s+(\d+)\s+(\d+)/i;
      disk.forEach(item => {
        var data = reg.exec(item);
        diskData.push({
          zh: data[1],
          en: data[2],
          spaceAvailable: data[3],
          total: data[4]
        });
      });
      console.log(diskData);
      // => [{zh: "本地固定磁盘", en: "C:", spaceAvailable: "83702444032", total: "214853218304"},{zh: "本地固定磁盘", en: "D:", spaceAvailable: "405313318912", total: "429496725504"},{zh: "本地固定磁盘", en: "E:", spaceAvailable: "325011607552", total: "355327799296"}]
    </script>
  </body>
</html>
